package com.qili.entity.affaircase;


import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zhaoyongke
 * @date 2020/11/11
 * @description
 */
@Table(name = "affair_case")
@Data
public class AffairCase implements Serializable {
    /**
     * 事务id
     */
    @Id
    @Column(name = "case_id")
    private String caseId;

    /**
     * 事项编码
     */
    @Column(name = "affair_code")
    private String affairCode;
    /**
     * 事项名称
     */
    @Column(name = "case_name")
    private String  caseName;

    /**
     * 申报对象ID
     */
    @Column(name = "applicant_id")
    private String applicantId;

    /**
     * 类型001  监理 002 供需
     */
    @Column(name = "applicant_type")
    private String applicantType;

    /**
     * 流程类型 监发三签 监发两签
     */
    @Column(name = "lc_type")
    private String lcType;

    /**
     * 申报对象名称
     */
    @Column(name = "applicant_name")
    private String applicantName;

    /**
     * 受理日期
     */
    @Column(name = "accept_time")
    private String acceptTime;

    @Column(name = "organ_id")
    private String organId;

    /**
     * 受理机构名称
     */
    @Column(name = "organname")
    private String organname;

    /**
     * //受理经办人ID
     */
    @Column(name = "acceptor_id")
    private String acceptorId;

    /**
     * //受理经办人姓名
     */
    @Column(name = "acceptor_name")
    private String acceptorName;

    /**
     * 办结日期
     */
    @Column(name = "end_time")
    private String endTime;

    /**
     * 工作流实例id
     */
    @Column(name = "process_instance_id")
    private String processInstanceId;

    /**
     * 业务表主键
     */
    @Column(name = "business_id")
    private String businessId;

    /**
     * 受理意见
     */
    @Column(name = "memo")
    private String memo;
    // 0或null 未办结   1为已办结
    @Column(name = "endresult")
    private String endresult;

    /**
     * 是否完结
     */
    @Column(name = "end_type")
    private String endType;

    /**
     * 是否有效
     */
    @Column(name = "valid")
    private String valid;
    // 流程当前环节record
    @Column(name = "curr_record_id")
    private String currRecordId;

    @Column(name = "update_by")
    private String updateBy;

    @Column(name = "update_date")
    private Date updateDate;


    private static final long serialVersionUID = 1L;
}
